<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Person.jsp</title>
</head>
<body>
<jsp:useBean id="person" class="Person" scope="page"></jsp:useBean>
<div>
    <ul>
        <li>
            姓名：<jsp:getProperty property="name" name="person"></jsp:getProperty>
        </li>
        <li>
            性别：<jsp:getProperty property="sex" name="person"></jsp:getProperty>
        </li>
        <li>
            年龄：<jsp:getProperty property="age" name="person"></jsp:getProperty>
        </li>
        <li>
            已婚：<jsp:getProperty property="married" name="person"></jsp:getProperty>
        </li>
    </ul>
</div>
</body>
</html>
